package com.wing.productionPlan.model.response;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-10-18 10:16
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProProductDeliveryOrderDetailVo {

    private String orderNo;	//提货订单编号
    private String orderId;	//提货订单编号
    private Long customerId;	//客户ID
    private String customerName;	//客户ID
    private Long productDetailId;	//产品ID
    private String skuCode;
    private String purchaseName;
    private String purchaseCode;
    private String orderType;
    private LocalDateTime orderTime;
    private String productTypeName;
    private String productTypeId;

    private String assemblyNature;
    private String skuName;
    private String skuSpec;
    private String productionLine;	//生产线
    private Integer deliveryNum;	//提货数量

    private String unitName;	//单位
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate deliveryTime;	//提货时间

    private String alreadyNum; //已排产
    private String inSaveNum; //已入库

    private BigDecimal deliveryChance; //交付率

    private Integer sendNum;	//发货数量 默认0

    private String deliveryNature;	//提货订单性质
    private String deliveryNatureName;	//提货订单性质
    private String status;	//状态
    private String statusName;	//状态名称




    public Long id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected LocalDateTime createTime;
    private Long creator;
    private String creatorName;
    protected Boolean isDeleted;
    protected String remark;

}
